package com.deuwise.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.deuwise.system.entity.SysSiteLayer;

import java.util.List;

/**
 * Copyright
 *
 * @author chenwenchao
 * @date 2019/9/30
 * Description:
 */
public interface SysSiteLayerService extends IService<SysSiteLayer> {

    /**
     * 站点图层
     * @param siteId
     * @return
     */
    List<String> queryLayerList(String siteId, String category);

    /**
     * 视图配置ID获取
     * @param siteId 系统id
     * @return
     */
    String queryMapViewBySiteId(String siteId, String category);

    /**
     * 保存站点图层
     * @param category 图层类别、2d/3d
     * @param siteId
     * @param layerList
     */
    void saveOrUpdate(String category,String siteId, List<String> layerList, String mapViewId);
}
